package edu.udo.sopra10.chaturaji.ai;

import java.util.Collection;
import java.util.LinkedList;

import edu.udo.sopra10.chaturaji.entities.*;
import edu.udo.sopra10.chaturaji.entities.transfer.DiceRoll;

public class AIMoveTreeDice {

	private DiceRoll.EquivalenceClass diceValue;
	private Player currentPlayer;
	
	private Collection<AIMoveTreeMove> AIMoveTreeMoves;
	
	public AIMoveTreeDice(DiceRoll.EquivalenceClass diceValue) {
		AIMoveTreeMoves = new LinkedList<AIMoveTreeMove>();
		this.diceValue = diceValue;
	}
	
	public void addChild(AIMoveTreeMove element){
		AIMoveTreeMoves.add(element);
	}
	
	public Collection<AIMoveTreeMove> getChildren(){
		return AIMoveTreeMoves;
	}
	
	public void setDiceValue(DiceRoll.EquivalenceClass diceValue) {
		this.diceValue = diceValue;
	}

	public DiceRoll.EquivalenceClass getDiceValue() {
		return diceValue;
	}

	public void setCurrentPlayer(Player currentPlayer) {
		this.currentPlayer = currentPlayer;
	}

	public Player getCurrentPlayer() {
		return currentPlayer;
	}
}
